import request from '@/utils/request'

// 查询演出详情列表
export function listPerfDetail(query) {
  return request({
    url: '/st/perfDetail/list',
    method: 'get',
    params: query
  })
}

// 查询演出详情详细
export function getPerfDetail(id) {
  return request({
    url: '/st/perfDetail/' + id,
    method: 'get'
  })
}

// 新增演出详情
export function addPerfDetail(data) {
  return request({
    url: '/st/perfDetail',
    method: 'post',
    data: data
  })
}

// 修改演出详情
export function updatePerfDetail(data) {
  return request({
    url: '/st/perfDetail',
    method: 'put',
    data: data
  })
}

// 删除演出详情
export function delPerfDetail(id) {
  return request({
    url: '/st/perfDetail/' + id,
    method: 'delete'
  })
}
